<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>html2pdf</title>
    <style>
        body{
            font-family: 宋体;
        }
    </style>
</head>
<body>
欢迎您： <span th:text="${name}"></span>
<br/>
<span th:text="${time}"></span>

</body>
</html>